<template>
	<div class="bg-white">
		<Form :label-width="80">
			<Row>
				<Col :xs="12" :sm="12" :md="12" :lg="12" :xl="12" :xxl="12">
					<FormItem class="w-50" label="课程名称">
						<Input v-model="kclx.kcname" disabled></Input>
					</FormItem>
					<FormItem class="w-50" label="描述">
						<Input v-model="kclx.ms" disabled></Input>
					</FormItem>
					<FormItem class="w-50" label="请选择父级课程">
						<Input v-model="kclx.pnames" disabled></Input>
					</FormItem>
					
					<button>提交</button>
				</Col>
			</Row>
		</Form>


	</div>
</template>

<script>
	export default {
		data() {
			return {
				kclx: {
					akclxid: "",
					pid: "",
					pnames:["搏击","健身","舞蹈"],
					lxname: "",
					zs:"",
					kcname:"",
					ms:"",
					sex: "",
					age: "",
					headimg: "",
					from: "",
					tel: "",
				
				},
			}
		},
		created: function() {
			this.kclx.akclxid = this.$route.query.id;
			this.loadData();
		},
		mounted: function() {},
		methods: {
			loadData: function() {
				return this.http.get({
					url: "/kclx/info",
					param: {
						akclxid: this.kclx.akclxid
					}
				}).then(res => {
					this.kclx = res;
				});
			},
			
		},
	}
</script>

<style>
</style>